IP | Nick | Date | Time | By
<* local node = getBansXML() if ( node ) then local bans = 0 while ( xmlFindSubNode ( node, "ip", bans ) ~= false ) do local ban = xmlFindSubNode ( node, "ip", bans ) local ip = xmlNodeGetAttribute ( ban, "address" ) local nick = xmlFindSubNode ( ban, "nick", 0 ) local banner = xmlFindSubNode ( ban, "banner", 0 ) local reason = xmlFindSubNode ( ban, "reason", 0 ) local date = xmlFindSubNode ( ban, "date", 0 ) local time = xmlFindSubNode ( ban, "time", 0 ) if ( nick ) then nick = xmlNodeGetValue ( nick ) else nick = "Unknown" end if ( banner ) then banner = xmlNodeGetValue ( banner ) else banner = "Unknown" end if ( reason ) then reason = xmlNodeGetValue ( reason ) else reason = "Unknown" end if ( date ) then date = xmlNodeGetValue ( date ) else date = "Unknown" end if ( time ) then time = xmlNodeGetValue ( time ) else time = "Unknown" end httpWrite ( "
"..ip.." | "..nick.." | "..date.." | "..time.." | "..banner.."
" ) bans = bans + 1 end end *>